<template>
	<view class="wrap">
		<!-- <u-swiper :list="list4" keyName="url" :autoplay="false" circular></u-swiper> -->
		<!-- <view>
			<u-grid :col="3" hover-class="hover-class">
				<u-grid-item v-for="(item, index) in list" :index="index" :key="index" @click="gridClick(item.path)">
					<u-icon :name="item.icon" :size="46"></u-icon>
					<text class="grid-text">{{ item.name }}</text>
				</u-grid-item>
			</u-grid>
		</view> -->
		<uni-card>
			<uni-grid :column="3" :showBorder="false">
				<uni-grid-item>
					<text class="text">文本</text>
				</uni-grid-item>
				<uni-grid-item>
					<text class="text">文本</text>
				</uni-grid-item>
				<uni-grid-item>
					<text class="text">文本</text>
				</uni-grid-item>
			</uni-grid>
		</uni-card>
		<uni-section class="mb-10" title="最近申请">
			<template v-slot:right>
				全部订单
			</template>
			AAAAAAAAAAAAAAAAAAAAAAA
		</uni-section>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list4: [{
					url: 'https://cdn.uviewui.com/uview/resources/video.mp4',
					title: '昨夜星辰昨夜风，画楼西畔桂堂东',
					poster: 'https://cdn.uviewui.com/uview/swiper/swiper1.png'
				}, {
					url: 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
					title: '身无彩凤双飞翼，心有灵犀一点通'
				}, {
					url: 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
					title: '谁念西风独自凉，萧萧黄叶闭疏窗，沉思往事立残阳'
				}],
				current: 0,
				list: [{
						name: 'TCCC',
						icon: 'integral',
						path: '/pagesB/tccc/tccc'
					}, {
						name: '视图',
						icon: 'integral',
						path: '/pagesB/map'
					},
					{
						name: '更多',
						icon: 'grid',
						path: '/pages/basics/functions/functions'
					}
				]
			}
		},
		methods: {
			gridClick(path) {
				console.log(path)
				uni.navigateTo({
					url: path
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	// .wrap {
	// 	padding: 5rpx;
	// }

	// .grid-text {
	// 	font-size: 28rpx;
	// 	margin-top: 4rpx;
	// 	// color: $u-type-info;
	// }
</style>
